﻿using T4UtilityBelt.Serializers;

namespace T4UtilityBelt.Templates
{
    public abstract class EntityModelToXmlTemplate : Template
    {
        public string RenderXml()
        {
            XSerializer xs = new XSerializer();

            return xs.Serialize(this.Model);
        }
    }
}